#!/bin/bash

ENDPOINT="oss-cn-hangzhou.aliyuncs.com"
KEY_ID="LTAI5tBpoUfFXdDcTxbfb2as"
KEY_SECRET="Z2XQYdlWN9oRurqzHtiyu14rWPKYk8"
BUCKET='sponsors'          #你要上传的阿里云oss目录

echo "endpoint=$ENDPOINT" >> /root/.ossutilconfig 
echo "accessKeyID=$KEY_ID" >> /root/.ossutilconfig 
echo "accessKeySecret=$KEY_SECRET" >> /root/.ossutilconfig 

ossutil rm -rf oss://$BUCKET/

ossutil cp ./logos/ -rf oss://$BUCKET/logos/
ossutil cp ./donate-list.json -rf oss://$BUCKET
ossutil cp ./sponsors.json -rf oss://$BUCKET

